home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / telecomm / ommmst14.lzh / OMMHELP.TXT next >
Text File  |  1989-04-22  |  10KB  |  251 lines

  1.  
  2.  
  3.  
  4.  Well - Binkley Fans - I guess its time to do a number on OMMM.ST. Oh God.
  5. This is not as easy as it looks. The first thing you have to understand is
  6. that the use of OMMM is VERY dependant on what YOU want to do and WHEN you want
  7. to do it. I can't give you a setup that will work for everyone. All I can do is
  8. tell you what I have and how I set it up and what it does. Hopefully that will
  9. give you the edge you need to get it going on your system.
  10.  
  11.  OK. The first thing you need to understand is what OMMM does. Since Binkley
  12. does not know from 'routes' and there is a thing in FIDO called Continous Mail,
  13. you have to be able to control when and where your echo and matrix mail goes
  14. out. It wouldn't be a good thing if your Echo-hub accepted CM and then
  15. everytime you had a message entered in an echo base Binkley turned around and
  16. made the call to deliver the mail. Most NETS have set up a specific time for
  17. you to call and send your echo mail and matrix mail. If you have your node
  18. number then your NC should have told you about this. Here in New York it works
  19. like this:
  20.  
  21.         03:00 03:30  call hub to deliver matrix mail (107/600)
  22.                 03:30 04:00  call ogate to deliver any matrix mail that didnt
  23.                              get to the hub (107/99)
  24.                 04:00 05:00  National Mail Hour (I make my own calls here)
  25.                 05:00 06:00  Receive Mail  
  26.  
  27. By arrangement with my ECHO hub (107/6000 .. different than the regular hub) I
  28. deliver echo mail at 9:00 am. The whole point here is that I have to be able to
  29. tell Binkley NOT to send Echo Mail until then AND I have to be able to re-route
  30. any other mail to my regular HUB or my OGATE or make the call myself. This is
  31. what OMMM is for.
  32.  
  33.   To get OMMM to work takes coordination with your Binkley.Evt schedule and
  34. .bat files set up to make OMMM do different things. The first thing I will show
  35. you is my OMMM.CTL file ... and explain what each function does and why. Then
  36. I'll list the event schedule and when I call that .bat file. 
  37.  
  38. First here is the OMMM.CTL:
  39.  
  40. Sched A                 \ This is the first thing I do at 3:00 am. 
  41. Leave 107/6000          | I 'leave' all the mail to my echo so that Binkley 
  42. UnHold OTHERS           | doesn't inadvertently send it somewhere. Then I
  43. UnHold 107/600          | 'unhold' any mail to my hub. And finally reroute
  44. ArcaddCM 107/600 WORLD  / ANY other mail through 107/600.
  45.  
  46. Sched B                 \ At 3:30 I first run a .bat file to rename 107/600 as
  47. ArcaddCM 107/99 WORLD   / 107/99 and then add ANY other mail to the arc.
  48.  
  49. Sched C                 \ At 4:00 I 'hold' all mail (if any) going OUTSIDE my
  50. NormHold Others         | net. I make sure MY net is not being held. I do how-
  51. UnHold Ournet           | ever hold mail to 107/600 as he is also trying to 
  52. NormHold 107/600        / call OUT at this time. This is NMH.
  53.  
  54.  
  55. Schedule E              \ This is what I do at 9:00 am to get my echo mail. I
  56. Send 107/6000           | first use "send" to cancel the 'leave' command. I make
  57. UnHold 107/6000         | sure the mail is not 'held'. And then I use poll in 
  58. Poll 107/6000           | case there isn't any mail to send anyway. This way I am
  59.                         / sure of calling the node. 
  60.  
  61. Schedule F              \ This section runs after EVERY time someone is on the
  62. ArcHold 107/6000        | BBS. Simply - it ARCS and HOLDS all the mail to  
  63.                         / 107/6000 which is the node I have in my echo bases.
  64.  
  65.  
  66.    Now, there are a number of .bat files that go along with this control file.
  67. Some of them are to rename files so that they can be processed by OMMM as in
  68. Schedule B above. Some of them work with OMMM itself to configure it to the
  69. different situations. All of them are called by BTST.BAT. The relevant sections
  70. of my BTST.BAT file and the other .bat files are all listed below with
  71. explanations:
  72.  
  73.  
  74.    if ERRORLEVEL 74 goto echo-mail
  75.    if ERRORLEVEL 73 goto ommm_mymail
  76.    if ERRORLEVEL 72 goto ommm_ogate
  77.    if ERRORLEVEL 71 goto ommm_hub
  78.  
  79. This is the section of the BTST.BAT file where I define the errorlevels for
  80. each run of OMMM.
  81.  
  82. We'll start with the first; IF ERRORLEVEL 71 GOTO ommm_hub :
  83.  
  84.     :ommm_hub
  85.       :unhold mail to 107/600
  86.     107600
  87.     I:
  88.     cd \Starnet
  89.     hub
  90.     goto start
  91.  
  92.  OK. The line that reads 107/600 is a .bat file located in the BINKLEY folder
  93. and looks like this: 
  94.  
  95.     cd \Binkley\Net\Out\
  96.     if exists 006B0258.hlo rename 006B0258.hlo 006B0258.clo
  97.  
  98. What this does is rename a HOLDING mail packet addressed to 107/600 as
  99. Continous Mail adressed to 107/600. Please remember that ALL mail is addressed
  100. using HEX. If you can get a PD Binary/Hex converter it will help alot! 
  101.  
  102. Next line in ERRORLEVEL 71 says change to the STARNET directory and run the
  103. HUB.BAT. You will note that I have pretty much named the .bat files with
  104. keywords so that I can remember what I am doing to what. The HUB.Bat looks like
  105. this:
  106.  
  107. OMMM.PRG -cI:\STARNET\OMMM.CTL -hC:\BINKLEY\NET\OUT -iC:\BINKLEY\BINKLEY.PRM
  108. -mI:STARNET\MESSAGES\MATRIX\ -z1 -sA
  109.  
  110. Looks like alot of gibberish right? Here's what its doing. We call OMMM.PRG
  111. and then define the parameters to run it. The -c defines where the
  112. configuration for OMMM is. The -h defines where the OUTGOING mail is located.
  113. The -i defines where the parameters for locating the nodelist. It is created
  114. when you run BT.CTL. The -m defines where your MATRIX mail is. The -z defines
  115. your ZONE. And finally - the -s tells OMMM what schedule to run. This is pretty
  116. much standard for ALL the .bat files called by OMMM. The only area that will
  117. change is the -s for the schedules. 
  118.  
  119. The above is calling SCHEDULE A in OMMM.CTL and if you look back you'll see
  120. what I have told OMMM to do. I call this errorlevel in the BINKLEY.EVT at
  121. 3:00 AM to run until 3:30 AM when I do the next step (ie: Schedule B)
  122.  
  123.  
  124. PLEASE NOTE: THE ABOVE COMMAND LINE MUST BE ALL ON ONE (1) LINE. IF YOU INSERT
  125. A CARRIAGE RETURN YOU WILL BOMB!!!!!! FLASH CAN HANDLE THIS NICELY. PLEASE
  126. REMEMBER THIS. THE OMMM .BAT FILES MUST ALL BE ONE LINE NO MATTER HOW LONG IT
  127. IS!!!
  128.  
  129.  So now you have an idea of what's happening. Following are all the other .bat
  130. files with the errorlevel that calls them. From the above explanation I think
  131. you'll be able to understand what's happening:
  132.  
  133.  
  134. ERRORLEVEL 72:
  135. -------------
  136.  
  137.     :ommm_ogate
  138.       :rename mail from 107/600 to 107/99
  139.     10799
  140.     I:
  141.     cd \Starnet
  142.     ogate
  143.     goto start
  144.  
  145.  
  146. 10799.BAT:
  147. ---------
  148.  
  149.        cd \binkley\net\out\
  150.        if exists 006B0258.clo rename 006B0258.clo 006B0063.clo
  151.  
  152.  
  153. OGATE.BAT:
  154. ---------
  155.  
  156.     THIS IS THE SAME AS FOR 'HUB.BAT' EXCEPT THAT YOU CHANGE THE -sA
  157.     TO -sB.
  158.  
  159.  
  160. ERRORLEVEL 73:
  161. -------------
  162.  
  163. :ommm_mymail
  164.   :rename mail from 107/99 to 107/600 and hold it and send net 107 mail
  165. hold600
  166. I:
  167. cd \starnet
  168. mymail
  169. goto start
  170.  
  171.  
  172. HOLD600.BAT:
  173. -----------
  174.  
  175.     cd \binkley\net\out\
  176.     if exists 006B0063.clo rename 006B0063.clo 006B0258.hlo
  177.  
  178.  
  179. MYMAIL.BAT:
  180. ----------
  181.     change to SCHEDULE C
  182.  
  183.  
  184.  
  185. ERRORLEVEL 74: (note: this is where I call my echomail Hub at 9:00 am)
  186. -------------
  187.  
  188. :echo-mail
  189.   :send echo to 107/6000
  190. I:
  191. cd \starnet
  192. echomail
  193. goto start
  194.  
  195. ECHOMAIL.BAT:
  196. ------------
  197.  
  198.     change to SCHEDULE E
  199.  
  200.  
  201.  
  202. And that's what I do to my Echo and Matrix mail. There is one thing left which
  203. is the HOLDECHO command. Those of you who got my file on BINKLEY will have
  204. noticed that there was a .bat file called after I ran FOREM or STARGATE called
  205. HOLDECHO. All this is is calling OMMM and executing SCHEDULE F. You must run
  206. this whenever there is an opportunity for a user or yourself to have entered a
  207. message in Stargate. Simply make the .bat file in your STARGATE folder and
  208. set it up for OMMM as above and be sure to call -sF. Then you just put the
  209. neccessary commnds in your BTST.BAT file to change to STARGATE's directory and
  210. run the .bat file. Its that simple.
  211.  
  212.  
  213.  
  214. Following is my BINKLEY.EVT just so you can see what I am doing at what time.
  215. Please note that in FIDO if you observe Eastern Daylight Time, all the times
  216. for MAIL events must ALSO be pushed ahead one hour .. so that you